ProxyDescriptor
StockSharp.Xaml.Charting.Ultrachart.ChartSettingsObjectBase`1
Specialization of PropertyDescriptor class for chart element properties.
Inherits: NamedPropertyDescriptor
Constructors
ProxyDescriptor
protected ProxyDescriptor(string name, object owner, T origObj, IEnumerable<Attribute> attributes, Func<T, PropertyDescriptor, bool> selector)
proxyDescriptor = ProxyDescriptor(name, owner, origObj, attributes, selector)
Create instance.
Properties
Attributes
public override AttributeCollection Attributes { get; }
value = proxyDescriptor.Attributes
Атрибуты.
IsReadOnly
public override bool IsReadOnly { get; }
value = proxyDescriptor.IsReadOnly
Gets a value indicating whether the ICollection is read-only.
Returns: if the ICollection is read-only; otherwise, .
PropertyType
public override Type PropertyType { get; }
value = proxyDescriptor.PropertyType
Property type.
Methods
CanResetValue
public override bool CanResetValue(object c)
result = proxyDescriptor.CanResetValue(c)
CreateWrapper
protected abstract ChartSettingsObjectBase<T> CreateWrapper(T obj, Func<T, PropertyDescriptor, bool> selector)
result = proxyDescriptor.CreateWrapper(obj, selector)
Create chart settings object wrapper for an object.
ShouldSerializeValue
public override bool ShouldSerializeValue(object c)
result = proxyDescriptor.ShouldSerializeValue(c)